<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no,maximum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }

    body,
    html {
      background-color: #eee;
      position: relative;
      width: 100%;
      height: 100%;
    }

    .container {
      width: 80%;
      height: 80%;
      background-color: #0a0;
      position: relative;
    }

    .fangxiangpan {
      width: 300px;
      height: 300px;
      border-radius: 50%;
      position: absolute;
      bottom: 10px;
      left: 10px;
      background-color: yellow;
    }

    .fangxiang {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      position: absolute;
      top: 125px;
      left: 125px;
      background-color: red;
    }
  </style>
</head>

<body>
  <div class="container">
    <div class="fangxiangpan">
      <div class="fangxiang" id="fangxiang"></div>
    </div>
  </div>

</body>
<script src="jquery.js"></script>
<script src="2.js"></script>